<%@ page contentType="application/msexcel" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	response.setHeader("Content-disposition",
			"inline; filename=productList.xls");
%>
<html>
<head>
<title>商品信息列表</title>
<s:if test="#request.excel==null">
	<s:action name="excelAbook"></s:action>
</s:if>
</head>
<body>
	<table>
		<tr style="font-size: 25px; background-color: aqua;" align="center">
			<td>编号</td>
			<td>客户名称</td>
			<td>性别</td>
			<td>客户所属部门</td>
			<td>客户职务</td>
			<td>电话</td>
			<td>邮编</td>
			<td>邮箱</td>
			<td>QQ</td>
			<td>联系人姓名</td>
			<td>兴趣爱好</td>
			<td>生日</td>
			<td>地址</td>
		</tr>
		<s:iterator value="#request.excel">
			<tr class="tigger" align="center" onmouseover="trOver(this)"
				onmouseout="trOut(this)">
				<td><s:property value="abProid" /></td>
				<td><s:property value="customer.custName" /></td>
				<td><s:property value="DDLByTypeSex.typeValue" /></td>
				<td><s:property value="DDLByTypeDepartments.typeValue" /></td>
				<td><s:property value="DDLByTypeDutiesname.typeValue" /></td>
				<td><s:property value="abTellphone" /></td>
				<td><s:property value="abZipcode" /></td>
				<td><s:property value="abEmail" /></td>
				<td><s:property value="abQq" /></td>
				<td><s:property value="abProname" /></td>
				<td><s:property value="abInterest" /></td>
				<td><s:property value="abBirth" /></td>
				<td><s:property value="abAddress" /></td>
			</tr>
		</s:iterator>
	</table>
</body>
</html>